page {
    background: #FAFAFA;
}
.order-box {
    background: #FAFAFA;

    .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: 100%;
        padding: 20rpx 40rpx;
        background-color: white;
        margin-bottom: 20rpx;
        position: sticky;
        left: 0;
        top: 0;

        .tab {
            position: relative;
        }

        .active {
            color: #F1AF86;
        }
    }

    .item {
        margin-bottom: 20rpx;
        background: white;
        padding: 30rpx 40rpx;


        .title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10rpx;

            .txt1 {
                font-size: 24rpx;
                color: #666666;
                font-weight: 500;
            }

            .txt2 {
                font-size: 28rpx;
                color: #F1AF86;
                font-weight: 600;
            }
        }


        .line2 {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .content {
            display: flex;
            align-items: center;
            border-bottom: 1rpx solid #F5F5F5;
            margin-bottom: 30rpx;
            padding: 30rpx 0;

            .avatar {
                width: 172rpx;
                height: 172rpx;
                border-radius: 4rpx;
                margin-right: 30rpx;
                margin-left: 10rpx;

                .img-avatar {
                    width: 172rpx;
                    height: 172rpx;
                    border-radius: 4rpx;
                    display: block;
                }
            }

            .specs {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: flex-start;
                height: 172rpx;
                width: calc(100% - 182rpx);

                .top {
                    width: 100%;
                    .title {
                        font-size: 24rpx;
                        color: #333333;
                        font-weight: 600;
                        margin-bottom: 10rpx;
                    }

                    .spec {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;

                        .left {
                            font-size: 24rpx;
                            color: #999999;
                            font-weight: 500;
                        }

                        .right {
                            font-size: 24rpx;
                            color: #333333;
                            font-weight: 500;
                        }
                    }
                }

                .price {
                    font-size: 24rpx;
                    color: #333333;
                }
            }

        }

        .total {
            display: flex;
            align-items: flex-end;

            .logistics {
                font-size: 24rpx;
                color: #999999;
            }

            .total-price {
                text-align: right;

                .txt1 {
                    font-size: 24rpx;
                    color: #999999;
                    display: inline-block;
                    margin-right: 40rpx;
                    font-weight: 500;
                }

                .txt2 {
                    font-size: 24rpx;
                    color: #333333;
                    font-weight: 600;
                }

                .txt3 {
                    font-size: 36rpx;
                    color: #333333;
                    font-weight: 600;
                }
            }

        }

        .between {
            justify-content: space-between;
        }

        .right {
            justify-content: flex-end;
        }

        .buttons {
            margin-top: 20rpx;
            display: flex;
            justify-content: flex-end;
            align-items: center;

            .btn {
                width: 140rpx;
                height: 46rpx;
                border-radius: 46rpx;
                text-align: center;
                line-height: 42rpx;
                font-size: 24rpx;
            }

            .btn1 {
                border: 1rpx solid #666666;
                color: #666666;
            }

            .btn2 {
                border: 1rpx solid #F1AF86;
                color: #F1AF86;
                margin-left: 40rpx;
            }
        }
    }
}